<?php
// 'target' => '_blank';新页面打开; 
// 'link' => '/XXXX';真实打开的链接地址，如果没有默认由controller 和 action 组成；
return array(
	//普通用户
	'member' => array(
		'交易管理' => array (
			'controller' => 'order',
			'items'      => array(
				'我的订单'     => array('action' => array('index','list'), 'controller' => 'orders', 'link' => '/my/orders'),
				'我的购物车'   => array('action' => 'index', 'controller' => 'cart', 'link' => '/my/cart'),
				'收货地址管理' => array('action' => array('index','delete','set_default'), 'controller' => 'address', 'link' => '/my/address'),
				'评价管理'     => array('action' => 'index', 'controller' => 'comments', 'link' => '/my/comments/index'),
			),
		),
		'信息管理' => array (
			'controller' => 'my',
			'items'      => array(
				'<span class="red">举报/投诉</span>'     => array('action' => 'index', 'controller' => 'exposure', 'link' => '/my/exposure'),
				'我的收藏'     => array('action' => array('index','list_goods','list_store'), 'controller' => 'myfavorite', 'link' => '/my/myfavorite/list_goods'),
				'购买过的商铺' => array('action' => 'index', 'controller' => 'boughtshop', 'link' => '/my/boughtshop/index'),
				'咨询/回复'    => array('action' => array('list_user_message','list_user_noreply','list_user_reply'), 'controller' => 'message', 'link' => '/my/message/list_user_message'),
				'我的浏览'     => array('action' => array('index','shop','goods'), 'controller' => 'browse', 'link' => '/my/browse'),
				'我的团购'     => array('action' => 'index', 'controller' => '', 'link' => 'http://tuan.sohu.com/', 'target' => '_blank'),
			),
		),
		'账号管理' => array (
			'controller' => 'account',
			'items'      => array(
				'<span class="red">个人信息管理</span>' => array('action' => 'index', 'controller' => 'account', 'link' => '/my/account'),
				'在线联系方式' => array('action' => 'set_online', 'controller' => 'account', 'link' => '/my/account/set_online'),
				'修改密码' => array('action' => 'index', 'controller' => '', 'link' => 'http://passport.sohu.com/web/editpwd?ru=http://'.site::domain('member'), 'target' => '_blank'),
			),
		),
	),

	//商家用户;
	'merchant' => array(
		'产品服务管理' => array (
			'controller' => 'loupan',
			'items'      => array(
			'绑定楼盘小区' => array('controller' => 'loupan', 'action' => array('index','lists')),
			'管理促销信息' => array('controller' => 'cuxiao', 'action' => array('list','add','update'), 'link' => '/cuxiao/list/valid', 'suffix' => array('name' => '发布', 'link' => '/cuxiao/add')),
          ),
		),
		'客户关系管理' => array (
				'controller' => 'relate',
				'items'      => array(
						'400呼叫客户' => array('action' => 'call_list', 'controller' => 'relate','link' => '/relate/call_list/connect'),
						'网店访问客户' => array('action' => 'visit_list', 'controller' => 'relate','link' => '/relate/visit_list/login'),
						'诚信交易记录' => array('controller' => 'shopinfo', 'action' => array('record_list','record'),'suffix' => array('name' => '上传', 'link' => '/shopinfo/record')),
						'客户订单通知' => array('controller' => 'relate', 'action' => array('order_list','order'),'suffix' => array('name' => '上传', 'link' => '/relate/order')),
						'短信营销' => array('action' => 'sms_list', 'controller' => 'relate'),
						'邮件营销' => array('action' => 'email_list', 'controller' => 'relate'),
				),
		),
		'店铺管理' => array (
			'controller' => 'shopinfo',
			'items'      => array(
			'店铺设置' => array('action' => array('index','set_base'), 'controller' => 'shopinfo',),
			'网址设置' => array('action' => 'set_domain', 'controller' => 'shopinfo'),
			'电话客服' => array('action' => 'set_phones', 'controller' => 'shopinfo',),
			'在线客服' => array('action' => 'set_online', 'controller' => 'shopinfo',),
			'资质管理 ' => array('controller' => 'merchant', 'action' => 'set_licence',),
			),
		),
		'账号管理' => array (
			'controller' => 'merchant',
			'items'      => array(
				'企业信息' => array('controller' => 'merchant', 'action' => 'index'),
				'付费管理' => array('controller' => 'pay', 'action' => 'index'),
				'修改密码' => array('controller' => '', 'action' => '', 'link' => 'http://passport.sohu.com/web/editpwd?ru=http://'.site::domain('merchant'), 'target' => '_blank'),
				'帮助'  => array('controller'=>'', 'action' => '', 'link' => 'http://'.Site::domain('member').'/dp_help', 'target' => '_blank'),
			),
		),
	),

	//运营后台菜单配置项
	'admin' => array(
		'运营管理后台首页' => array(
			'controller' => 'stats',
			'link'       => '/stats/',
			'items'      => array(),
		),

		'渠道商管理' => array(
			'controller' => 'member',
			'link'       => '/member/',
			'items'      => array(),
		),

		'渠道管理' => array(
			'controller' => 'member',
			'link'       => '/member/',
			'items'      => array(),
		),

		'项目管理' => array(
			'controller' => 'project',
			'link'       => '/project/',
			'items'      => array(
				'项目列表' => array('controller' => 'project', 'action' => 'list','link' => '/project/list'),
			),
		),

        '效果列表' => array(
            'controller' => 'effect',
			'link'       => '/effect/',
			'items'      => array(
				'项目列表' => array('controller' => 'effect', 'action' => 'list','link' => '/effect/list'),
			),
        ),

		'预算审核' => array(
			'controller' => 'budget',
			'link'       => '/budget/',
			'items'      => array(
				'待审核'  => array('controller' => 'cuxiao', 'action' => array('index','list'),'link' => '/cuxiao/index'),
			),
		),

        '财务管理' => array(
            'controller' => 'caiwu',
			'link'       => '/caiwu/',
            'items'      => array(
				'未结束帐目' => array('controller' => 'project', 'action' => 'list','link' => '/project/list'),
				'历史帐目' => array('controller' => 'project', 'action' => 'effect'),
            ),
        ),

        '系统管理' => array(
            'controller' => 'system',
            'link'       => '/system/',
            'items'      => array(
				'管理员列表' => array('controller' => 'system', 'action' => 'managers','link' => '/system/managers'),
				'刷新缓存' => array('controller' => 'system', 'action' => 'refresh','link' => '/system/refresh'),
            ),
        ),
	),
);
